<?php
/**
 * month.phtml
 * 
 * @category    Madoqua
 * @package     Module
 * @subpackage  Blog
 */

?>
<h2>Calendar</h2>

<ul class="calendar-month">
    <?php foreach($this->months as $year => $monthArray) : ?>
    <?php foreach($monthArray as $month => $post) : ?>
    <li>
        <h3>
            <?php echo $month . '  ' . $year; ?>
        </h3>
        
        <ul>
            <li>
                <?php echo $post->title; ?>
            </li>
        </ul>
    </li>
    <?php endforeach; ?>
    <?php endforeach; ?>
</ul>